package com.cyl.manager.pms.convert;

import com.cyl.manager.pms.domain.entity.Brand;
import com.cyl.manager.pms.domain.vo.BrandVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.ReportingPolicy;

import java.util.List;

/**
 * 品牌管理  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE, componentModel = MappingConstants.ComponentModel.SPRING)
public interface BrandConvert {

    List<BrandVO> dos2vos(List<Brand> list);
}
